Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get and set screen orientation #55

Merged
merged 2 commits into from
Nov 11, 2015
Merged

Conversation

stoneman
Copy link
Contributor

@stoneman stoneman commented Nov 6, 2015

RotationManager static class uses user32.dll functions to get and set display orientation. Could become DisplaySettingsManager and get/set other display settings if needed.



/// <summary>
/// Gets the current orientation of the screen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked for primary screen, when using more one monitor. I think need change to Gets the current orientation of the primary screen

@skyline-gleb
Copy link
Contributor

Use this class how DisplaySettingsManager in future - is cool idea!

@skyline-gleb
Copy link
Contributor

👍

skyline-gleb added a commit that referenced this pull request Nov 11, 2015
Get and set screen orientation
@skyline-gleb skyline-gleb merged commit d4177df into 2gis:master Nov 11, 2015
@skyline-gleb skyline-gleb deleted the rotation branch November 11, 2015 03:55
@skyline-gleb skyline-gleb restored the rotation branch November 11, 2015 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants